﻿using LightCAD.Core.Elements;
using System.Collections.ObjectModel;

namespace LightCAD.Core
{
    public class LcAxisCircle
    {
        public double Radius { get; set; }
        public string TextValue { get; set; }
        public Vector2d CenterPoint { get; set; }

    }
    public class LcAxisLine : LcElement
    {
        public List<LcLine> AxisLines { get; set; }
        public List<LcLine> StartLeadLines { get; set; }

        public List<LcLine> EndLeadLines { get; set; }
        public List<LcAxisCircle> StartCircleHandle { get; set; }
        public List<LcAxisCircle> EndCircleHandle { get; set; }
        public override LcElement Clone()
        {
            throw new NotImplementedException();
        }
    }

    public class LcAxisLineCollection:KeyedCollection<long,LcAxisLine>
    {
        public LcAxisLineCollection() { }

        protected override long GetKeyForItem(LcAxisLine item)
        {
            return item.Id;
        }
    }
}